package com.ruoyi.common.entity.VO;

import com.ruoyi.common.entity.wxpay.WxConfig;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class PayVO {
    private Long memberId;
    private String openid;
    private Long orderId;
    @NotEmpty(message = "请选择需要支付的订单！")
    private String orderSn;
    private String paySn;
    @NotNull(message = "请选择支付方式")
    @Max(value=4,message = "暂不支持该支付方式")
    private Integer payWay;
    private String payPassword;
    private BigDecimal orderCost;
    private BigDecimal payCost;
    private WxConfig wxConfig;
}
